package com.graduation.common.constans;

public interface RedisConstants {

    String LOGIN_CACHE_KEY_PREFIX = "login:uuid:";

    String NULL_VALUE = "";

    Long NULL_VALUE_TTL = 5L;

    Integer CACHE_REBUILD_MAX_RETRY = 3;

    String LEGAL_CACHE_KEY_PREFIX = "cache:legal:id:";

    Long LEGAL_CACHE_TTL = 30L;

    String LEGAL_CACHE_REBUILD_LOCK_KEY = "lock_rebuild_legal_cache";

    Long LEGAL_CACHE_REBUILD_LOCK_TTL = 1L;

    Long CACHE_REBUILD_INTERVAL_TTL = 50L;

}
